package com.syan.learn.optimization.ch02.proxy;


public class DBQuery implements IDBQuery {

	public DBQuery() {
		try {
			Thread.sleep(2000);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	@Override
	public String request() {
		System.out.println("request...");
		return null;
	}

	@Override
	public String test1(String name) {
		System.out.println("hello,"+name+"...");
		return null;
	}

}
